package com.dmzc.http;

import java.util.HashMap;

public class HttpRequest implements Request {
    /**
     * 请求方式
     */
    private String mt;
    /**
     * 协议版本
     */
    private String protocol;
    /**
     * 请求参数
     */
    private HashMap<String,String> queryParams;
    /**
     * URL路径
     */
    private String url;
    /**
     * 请求首部
     */
    private HashMap<String,String>requestHead;

    public String getMt() {
        return mt;
    }

    public void setMt(String mt) {
        this.mt = mt;
    }

    public String getProtocol() {
        return protocol;
    }

    public void setProtocol(String protocol) {
        this.protocol = protocol;
    }

    public HashMap<String, String> getQueryParams() {
        return queryParams;
    }

    public void setQueryParams(HashMap<String, String> queryParams) {
        this.queryParams = queryParams;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public HashMap<String, String> getRequestHead() {
        return requestHead;
    }

    public void setRequestHead(HashMap<String, String> requestHead) {
        this.requestHead = requestHead;
    }
}